package com.example.block_chain.service.admin;

import com.example.block_chain.common.ResponseResult;
import com.example.block_chain.domain.pojo.Award;
import com.example.block_chain.domain.vo.AwardVo;

import javax.servlet.http.HttpSession;
import java.io.UnsupportedEncodingException;
import java.util.List;

public interface AwardAuditingService {

    ResponseResult passAward(String awardId, Integer authority, String aNo) throws UnsupportedEncodingException;

    ResponseResult refuseAward(String awardId, Integer authority, String aNo);

    ResponseResult counsellorSelectAuditAward(String classCode, String facultyCode, String schoolCode, String status, Integer page, Integer pageSize) throws UnsupportedEncodingException;

    ResponseResult facultySelectAuditAward(String facultyCode, String schoolCode, String status, Integer page, Integer pageSize) throws UnsupportedEncodingException;

    ResponseResult schoolSelectAuditAward(String schoolCode, String status, Integer page, Integer pageSize) throws UnsupportedEncodingException;

    List<AwardVo> toAwardVo(List<Award> auditingAwards);

    ResponseResult selectAuditAward(String classCode, String facultyCode, String schoolCode, Integer status, Integer page, Integer pageSize, HttpSession session) throws UnsupportedEncodingException;

}
